package com.cskaoyan.model.admin.vo;

import lombok.Data;

import java.util.List;

/**
 * @author hanshuai
 * @version 1.0
 * @description @TODO
 * @date 2021/11/29 20:41
 */
@Data
public class BaseDataListVo {
        Integer page;
        Integer limit;
        Integer total;
        Integer pages;
        List list;

        public static com.cskaoyan.model.admin.vo.BaseData list(List list, long total) {
            com.cskaoyan.model.admin.vo.BaseData data1 = new com.cskaoyan.model.admin.vo.BaseData();
            data1.setList(list);
            data1.setTotal((int) total);
            return data1;
        }
}
